Test Methods and Tools in Model - Based Function Development

نویسندگان

  • Klaus Lamberg
  • Michael Beine
چکیده

There can be no doubt that electronics, and most particularly the software they contain, are the key to innovative and marketable functionality in modern vehicles However, a high level of reliability, safety, and quality in vehicle electronics is vital. There are currently two very important trends in automotive software development:  Controllers and functions are developed with the aid of simulation models. The C code needed for each specific target system is generated automatically on the basis of the models. Automatic production code generation has become a firm part of production development.  As software grows in complexity, and development cycles speed up, the software that is produced must be tested as early and as exhaustively as possible. Testing is now seen as a key element in quality assurance. Model-based development methods are shifting tests from code level to model level. In the earlier development phases especially, there is still great potential for complementing largely experimental development procedures with methods of model-based, automated testing. Typical test activities in model-based function development are model-in-the-loop, software-in-the-loop, and processor-in-the-loop simulation, with back-to-back methods based on them; black-box approaches such as the classification tree method; white-box methods with coverage measurement at model and code level; and formal verification. Combining model-based development with automated testing provides a powerful and efficient collection of tools and methods, from test project management to systematic test case generation, right through to automated test evaluation and final test report generation. This paper describes the processes involved and the methods that underlie them in the overall context of testing. Function Development with Automatic Production Code Generation Software development for electronic control units (ECUs) is increasingly being performed with model-based development tools such as MATLAB/ Simulink/Stateflow [(1)]. Once the specification has been produced with the aid of these tools, coding work can begin. Functions described in graphical form must be converted into C code and implemented on the ECU. Automatic production code generators are increasingly being used for this task. Today’s code generation methods are now so mature compared with the first generations of code generators that they are well able to bridge the gap between model-based function design and production software development. Production code generators like TargetLink [(2)] generate highly efficient, reliable, production-quality C code from a block diagram. They not only reduce development time, they also enhance the quality of the software and avoid human programming errors. Currently, automatic production code generators are primarily being used for new functional software components, in other words, control functions, in electronic control units (ECUs). The hardware-related software and the software infrastructure are handcoded. As the bulk of ECU software consists of function code, using automatic production code generators has rapidly grown in importance. TargetLink, for example, is now breaking through into widespread use in rollouts for major development projects. As the focus of development activities shifts from code level to model level, followed by automatic production code generation, testing at model level becomes essential. There is currently a clear trend towards applying the methods and approaches of classic software testing to model-based development. Basic Aspects of Testing Testing is a quality assurance and quality enhancement activity performed with the aim of finding errors. Testing is easy to learn and can be applied to even very complex systems. Although testing can be fairly expensive, the cost-benefit ratio is usually very positive. Testing is performed for validation or verification, depending on the test objective. Validation relates to the requirements established for the system under development. The requirements can be functional, i.e., relating to the actual purpose of the system, or nonfunctional, i.e., relating to performance, real time, memory consumption, etc. Verification means testing a test object against its specification. The specification describes the technical requirements that the object has to meet; these generally relate to the interfaces and to how the object must behave at the interfaces. The test object can be on any system level (unit, module, component, subsystem), depending on the level to which the specification applies and at which it is tested. Verification itself does not prove that the test object complies with the original system requirements, as the specification itself may be faulty. There is a wide variety of methods available for testing, which can be classified according to the scheme shown in Figure 1. There is a basic difference between static and dynamic testing. In dynamic testing, the test object is executed, while in static testing, it is not. Formal verification is a further method class. The following discussion focuses primarily on dynamic testing and formal verification, as these are the approaches mainly used in model-based development.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Quality Function Deployment Method for Selection of Effective Management Tools on Setting EFQM Model

Using the effective management tools that are relevant tothe organization’s needs for excellence has become so important for thecompanies to improve their performances and then increase customersatisfaction and gain market shares. Quality function deployment is anefficient and powerful tool in design, development, and planning of products.The main function of quality function deployment is conv...

متن کامل

Development of a Model and Review of Clinical Methods of Balance Function in the Elderly Using Structural Equation Modeling

Background and Objective: Balance disorder is one of the most common problems in the elderly, leading to falls and serious injuries. One of the most important issues in the health of the elderly is balance and its related components. Therefore, the present study aimed to assess balance function tests, the relationship between age and anthropometric index, and perform equilibrium tests using str...

متن کامل

Forecasting the Tehran Stock market by Machine ‎Learning Methods using a New Loss Function

Stock market forecasting has attracted so many researchers and investors that ‎many studies have been done in this field. These studies have led to the ‎development of many predictive methods, the most widely used of which are ‎machine learning-based methods. In machine learning-based methods, loss ‎function has a key role in determining the model weights. In this study a new loss ‎function is ...

متن کامل

The Research-Engaged School: The Development and Test of a Causal Model through an Exploratory Mixed Methods Design

The Research-Engaged School: The Development and Test of a Causal Model through an Exploratory Mixed Methods Design   Sh. HosseinPour, Ph.D.[1] H.R. Zeinabadi, Ph.D. [2]   The present study was undertaken to design and test a research-engaged school model using mixed methods design. In the qualitative and quantitative parts of the study, phenomenological strategy and structural equation mod...

متن کامل

Development of Lifetime Prediction Model of Lithium-Ion Battery Based on Minimizing Prediction Errors of Cycling and Operational Time Degradation Using Genetic Algorithm

Accurate lifetime prediction of lithium-ion batteries is a great challenge for the researchers and engineers involved in battery applications in electric vehicles and satellites.  In this study, a semi-empirical model is introduced to predict the capacity loss of lithium-ion batteries as a function of charge and discharge cycles, operational time, and temperature. The model parameters are obtai...

متن کامل

A Simulation-Based Optimization Model for Scheduling New Product Development Projects in Research and Development Centers

a simulation-based optimization approach for the purpose of finding a near-optimal answer can be efficient and effective. In the present paper, first, the mathematical model for the project activity scheduling problem has been presented with a job shop approach. Then, using the Arena 14 software, the simulation model has been designed. Consequently, a numerical example has been solved via runni...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005